<?php /* Smarty version Smarty-3.1.18, created on 2017-05-24 15:10:01
         compiled from "/data/www/mystery/protected/modules/webadmin/views/question/import.tpl" */ ?>
<?php /*%%SmartyHeaderCode:184915076754cf5f221df378-94104318%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '10592f3461ce5837d6a15a77519e60acec964f67' => 
    array (
      0 => '/data/www/mystery/protected/modules/webadmin/views/question/import.tpl',
      1 => 1494904924,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '184915076754cf5f221df378-94104318',
  'function' => 
  array (
  ),
  'version' => 'Smarty-3.1.18',
  'unifunc' => 'content_54cf5f22227f89_86547671',
  'variables' => 
  array (
    'type' => 0,
    'question_id' => 0,
  ),
  'has_nocache_code' => false,
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_54cf5f22227f89_86547671')) {function content_54cf5f22227f89_86547671($_smarty_tpl) {?><?php echo $_smarty_tpl->getSubTemplate ("../common/header.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0);?>

<table width="100%" border="0" cellspacing="0">
    <tr>
        <td width="13%" valign="top">
                <?php echo $_smarty_tpl->getSubTemplate ("../common/left.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0);?>

        </td>
        <td width="87%" valign="top">

            <table width="100%" border="0" cellspacing="0">
                <tr>
                    <td>
                        <div class="subnav">
                                <div class="content-menu ib-a blue line-x"> 
                                        <a href="javascript:void(0);" class="on">
                                            <em>导入问卷题目内容</em>
                                        </a>
                                </div>
                        </div>
                        <div class="pad_10">
                            <div class="table-list">
                                <div class="common-form">
                                <form name="myform" action="/webadmin/question/doImport" method="post" id="myform" enctype="multipart/form-data">
                                   <p> <!--选择模版类型：
                                    <select name="type">
                                        <option value="1" <?php if ($_smarty_tpl->tpl_vars['type']->value==1) {?>selected="selected"<?php }?>>硬件</option>
                                        <option value="2" <?php if ($_smarty_tpl->tpl_vars['type']->value==2) {?>selected="selected"<?php }?>>软件</option>
                                    </select>-->
                                    
                                    	<span>
                                            <label for="viewfile">上传文件：</label>
                                            <input type="text" name="viewfile" id="viewfile" class="viewfile" />
                                        </span>
                                    <label for="upload" class="bottom">查找文件</label><input type="file" size="27" name="upfile" onchange="document.getElementById('viewfile').value=this.value;" class="file" />
                                   </p>   
                                    <input type="hidden" name="question_id" value="<?php echo $_smarty_tpl->tpl_vars['question_id']->value;?>
"/>
                                    <div class="bk15"></div>
                                    <input name="dosubmit" type="submit" value="确认上传" class="button">
                                </form>
                                </div>
                            </div>
                        </div>

                    </td>
                </tr>
            </table>
        </td>
    </tr>
</table>
<script type="text/javascript">
	$(document).ready(function(){
		$('input[name="dosubmit"]').click(function(){
			$('input[name="dosubmit"]').val('正在处理，请稍候...');
		});
	});
</script>
<?php echo $_smarty_tpl->getSubTemplate ("../common/footer.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0);?>
<?php }} ?>
